package ThreadAndLambda.Lambda;
//创建Runnable接口的实现类，重写run方法，设置线程任务
public class RunnableImp implements Runnable {
    @Override
    public void run() {
        System.out.println(Thread.currentThread().getName());
    }
}
